package baiwa.rta.dao;

import java.util.List;

import baiwa.rta.model.DataTableModel;
import baiwa.rta.model.User;

public interface UserDao {

    public List<User> findAll();

    public List<User> findUserByCriteria(User user);

    public User findById(Integer id);

    public User findByUsername(String username);

    public DataTableModel<User> findUserDataTable(User user, int iDisplayStart,
            int iDisplayLength);

    public void create(User user);

    public void update(User user);

    public void delete(User user);

    public User findLoginUsername(String username);
}
